package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* Created by Mybatis Generator on 2023/12/15
*/
@Data
@ApiModel("automated promotion code 生成的记录")
@Table(name = "tbl_promo_code_automated_member")
@NoArgsConstructor
@AllArgsConstructor
public class TblPromoCodeAutomatedMember extends BaseEntity {
    @Column(name = "promo_code_id")
    private String promoCodeId;

    @Column(name = "member_id")
    private String memberId;

    @Column(name = "end_date")
    private Date endDate;

    @Column(name = "code")
    private String code;

    @Column(name = "code_used_number")
    private Integer codeUsedNumber;
}